package com.wang.service;

import com.wang.mapper.DevTypeDao;
import com.wang.pojo.DevType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author wcy
 * @date 2022-07-28 9:38
 */
@Service
@Transactional
public class DevTypeServiceImpl implements DevTypeService {


    @Autowired
    private DevTypeDao devTypeDao;

    @Override
    public DevType selectDevTypeByName(String typeName) {
        return devTypeDao.selectDevTypeByName(typeName);
    }
}
